﻿using FrameworkCore.Interfaces;
using FrameworkCore.Migrations.Data;
using Serilog.Events;

namespace Infrastructure.Events;

public class LoggerEvent : DomainEvent
{
    public LoggerEvent(LogEvent item, ICurrentUserService currentUserService)
    {
        Item = item;
        CurrentUserService = currentUserService;
    }

    public LogEvent Item { get; }

    public ICurrentUserService CurrentUserService { get; }
}